class AddPasts < ActiveRecord::Migration
  def self.up
    execute "insert into `pasts` (\"id\", \"semester_id\", \"student_id\", \"course_id\") values (1, 1, 1, 3)"
    execute "insert into `pasts` (\"id\", \"student_id\", \"semester_id\", \"course_id\") values (2, 1, 4, 14)"
    execute "insert into `pasts` (\"id\", \"semester_id\", \"student_id\", \"course_id\") values (3, 5, 1, 30)"
    execute "insert into `pasts` (\"id\", \"student_id\", \"semester_id\", \"course_id\") values (4, 1, 4, 17)"
    execute "insert into `pasts` (\"id\", \"semester_id\", \"student_id\", \"course_id\") values (5, 1, 1, 1)"
    execute "insert into `pasts` (\"id\", \"semester_id\", \"student_id\", \"course_id\") values (6, 2, 1, 8)"
    execute "insert into `pasts` (\"id\", \"semester_id\", \"student_id\", \"course_id\") values (7, 1, 1, 2)"
    execute "insert into `pasts` (\"id\", \"semester_id\", \"student_id\", \"course_id\") values (8, 4, 1, 11)"
    execute "insert into `pasts` (\"id\", \"semester_id\", \"student_id\", \"course_id\") values (9, 5, 1, 19)"
  end

  def self.down
    execute "delete from `pasts` where id < 10"
  end
end
